fontchooser: Use gtk-fontconfig-timestamp setting
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 4 May 2015 12:25:27 +0000 (13:25 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 5 May 2015 10:22:53 +0000 (11:22 +0100)
commitc6df17577ab3ee8ffebec049ddf580f486f356c8
treed9524be85561547b1287aca5f4aac056baf460bd
parent4c06d08e2d6cf4790af38fb2c40be36e65535f77
fontchooser: Use gtk-fontconfig-timestamp setting

We can use the GtkSettings:gtk-fontconfig-timestamp property to decide
whether or not we should reload fonts on style and screen changes. This
should avoid doing a lot of work with large font collections when only
the theme has changed.

https://bugzilla.gnome.org/show_bug.cgi?id=748782
gtk/gtkfontchooserwidget.c